def func(self):
    '''

    :param self:
    :return:
    '''
    print(self)
    pass

print func.__doc__